package me.liekkas.notify.sms;

public class SmsResponse {

    private Integer status;

    private String msg;

    public static SmsResponse fail(String msg) {
        SmsResponse response = new SmsResponse();
        response.setStatus(0);
        response.setMsg(msg);
        return response;
    }

    public static SmsResponse success() {
        SmsResponse response = new SmsResponse();
        response.setStatus(1);
        return response;
    }

    public SmsResponse() {
    }

    public SmsResponse(String msg) {
        this.msg = msg;
    }

    public SmsResponse(Integer status, String msg) {
        this.status = status;
        this.msg = msg;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
